package com.cskaoyan.controller.wx.sl;

import com.cskaoyan.bean.Feedback;
import com.cskaoyan.service.wx.sl.WxFeedbackService;
import com.cskaoyan.vo.BaseRespVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class WxFeedbackController {

    @Autowired
    WxFeedbackService wxFeedbackService;

    //添加反馈
    @RequestMapping("wx/feedback/submit") //page=1&size=10
    public BaseRespVo footprintList(@RequestBody Feedback feedback){
        int ant = wxFeedbackService.footprintList(feedback);
        return BaseRespVo.ok();
    }

}
